﻿@model SuperiorModel.TPagedModelList<SuperiorModel.RechargeOrderModel>
<table class="layui-table" id="AppList" lay-filter="test">
    <thead>
        <tr>
            <th>商户账号</th>
            <th>充值单号</th>
            <th>金额</th>
            <th>充值产品</th>
            <th>产品类型</th>
            <th>支付单号</th>
            <th>创建时间</th>
            <th>支付时间</th>
            <th>订单状态</th>
            <th>推荐人ID</th>
            <th>推荐人收益</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model.TList)
        {
            <tr>
                <td>@item.LoginName</td>
                <td>@item.RechargeNo</td>
                <td>@item.Amount</td>
                <td>@item.Title</td>
                <td>
                    @switch (item.AppType)
                    {
                        case 1:
                            <span style="">小程序</span>
                            break;
                        case 2:
                            <span style="">H5</span>
                            break;
                    }
                </td>
                <td>@item.PayCode</td>
                <td>@item.CreateTime.ToString("yyyy-MM-dd HH:mm:ss")</td>
                <td>@item.PayTime</td>
                <td>
                    @switch (item.OrderStatus)
                    {
                        case 0:
                            <span style="">待付款</span>
                            break;
                        case 1:
                            <span style="color:green">成功</span>
                            break;
                        case 2:
                            <span style="color:orangered">失败</span>
                            break;
                    }
                </td>
                <td>
                    @item.AccountManagerId
                </td>
                <td>@item.AccountMangerAmount</td>
            </tr>
        }
    </tbody>
</table>
@Html.Partial("_TPager", Model.PagingResult)